package com.atguigu.spring6.iocxml.dimap;

/**
 * @author: Michael
 * @date: 2025/5/13
 * @desc:
 */
public class Teacher {

    private String teacherId;

    private String teacherName;

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public void run() {
        System.out.println("教师编号 ： " + teacherId + " ; 教师姓名 ： " + teacherName);
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "teacherId='" + teacherId + '\'' +
                ", teacherName='" + teacherName + '\'' +
                '}';
    }
}
